﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Directory.BLL
{
	public class DBQuery
	{
        private static Directory.IDAL.IDBQuery dal = new Directory.DAL.DBQuery();

		public int ExecuteNonQuery(string query)
		{
			return dal.ExecuteNonQuery(query);
		}

		public object ExecuteScalar(string query)
		{
			return dal.ExecuteScalar(query);
		}

		public DataSet ExecuteReader(string query)
		{
			return dal.ExecuteReader(query);
		} 
	}
}
